import 'dart:io';

import 'package:flutter/material.dart';
import 'package:flutter_juwo/common/common_index.dart';
import 'package:flutter_juwo/ui/pages/photoHero/PhotoHero.dart';
import 'package:flutter_juwo/ui/pages/photoHero/PhotoHeroNet.dart';

class ShowBigImagePageNet extends StatelessWidget {
  final String picUrl;

  ShowBigImagePageNet(this.picUrl);

  @override
  Widget build(BuildContext context) {
    return Material(
      color: Colors.black,
      child: Container(
          child: PhotoHeroNet(
              photo: picUrl,
              onTap: () {
                NavigatorUtils.goBack(context);
              },
              width: 300)),
    );
  }
}


